﻿<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1"), _
 System.SerializableAttribute(), _
 System.ComponentModel.DesignerCategoryAttribute("code"), _
 System.Xml.Serialization.XmlRoot("XML"), _
 System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True)> _
Public Class Pedido

    Private _CodigoPedido As Integer
    Private _CodigoComanda As Integer
    Private _DataRealizacaoPedido As DateTime
    Private _HoraRealizacaoPedido As DateTime
    Private _HoraEntregaPedido As DateTime
    Private _ListaItemPedido As List(Of ItemPedido)
    Private _ValorTotalPedido As Double

    <System.Xml.Serialization.XmlElementAttribute("COD_PED")> _
    Public Property CodigoPedido() As Integer
        Get
            Return _CodigoPedido
        End Get
        Set(ByVal value As Integer)
            _CodigoPedido = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("COD_COM")> _
    Public Property CodigoComanda() As Integer
        Get
            Return _CodigoComanda
        End Get
        Set(ByVal value As Integer)
            _CodigoComanda = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("DATA_REAL_PED")> _
    Public Property DataRealizacaoPedido() As DateTime
        Get
            Return _DataRealizacaoPedido
        End Get
        Set(ByVal value As DateTime)
            _DataRealizacaoPedido = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("HORA_REAL_PED")> _
    Public Property HoraRealizacaoPedido() As DateTime
        Get
            Return _HoraRealizacaoPedido
        End Get
        Set(ByVal value As DateTime)
            _HoraRealizacaoPedido = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("HORA_ENTR_PED")> _
    Public Property HoraEntregaPedido() As DateTime
        Get
            Return _HoraEntregaPedido
        End Get
        Set(ByVal value As DateTime)
            _HoraEntregaPedido = value
        End Set
    End Property

    <System.Xml.Serialization.XmlIgnore()> _
    Public Property ListaItemPedido() As List(Of ItemPedido)
        Get
            Return _ListaItemPedido
        End Get
        Set(ByVal value As List(Of ItemPedido))
            _ListaItemPedido = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("VAL_TOT_PED")> _
    Public Property ValorTotalPedido() As Double
        Get
            Return _ValorTotalPedido
        End Get
        Set(ByVal value As Double)
            _ValorTotalPedido = value
        End Set
    End Property



End Class
